package com.chensheng.vo;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author:ChenSheng
 * @Description:
 * @Date: Created in 下午 20:06 2018/5/14 0014
 */
@Data
public class ViewObject {

    private Map<String, Object> objs = new HashMap<>();

    public void set(String key, Object value){
        objs.put(key, value);
    }

    public Object get(String key){
        return objs.get(key);
    }
}
